package ch.bfh.abcm.rems.display.subpanels.history;

import java.awt.BorderLayout;
import java.awt.Color;

import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class TitlePanel extends JPanel {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    private static final String SUB_TITLE = "<html><h1><font color='white' style='font-family:Verdana'>REMS </font></h1></html>";

    private JLabel title;

    public TitlePanel() {

        this.setBackground(Color.BLACK);
        this.title = new JLabel(SUB_TITLE);
        this.setLayout(new BorderLayout());
        this.add(title, BorderLayout.CENTER);
        this.title.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));

        
        ImageIcon logo = new ImageIcon("logo3.png");
        JLabel logoLabel = new JLabel(logo);
        logoLabel.setBorder(BorderFactory.createEmptyBorder(5, 0, 5, 0));
        this.add(logoLabel, BorderLayout.WEST);
    }
    
}
